* {
    margin: 0;
    padding: 0;
}

:root {
    --headheight: 50px;
    --fristsection: 48px;
    --pngbox: 170px;
    --throbw: 50px;
}

::-webkit-scrollbar {
    width: 0px;
    /* background-color:#F5F5F5;
    transition: 1s; */
}

/* ::-webkit-scrollbar-track
{
    background-color:#F5F5F5;
}
::-webkit-scrollbar-thumb
{
    border-radius:20px;
    background-color:#000000;
} */
body {
    overflow: hidden;
    background: var(--bgcolor);
    transition: 1s all;
}

.caidanlan a {
    text-decoration: none;
    color: #000;
}

.caidanlan img {
    width: 100%;
}

.caidanlan .block {
    position: relative;
    width: var(--headheight);
    height: calc(var(--headheight)*0.18);
    background: black;
    margin: 3.5px;
    top: calc(var(--headheight)*0.2*0.5);
    /* transform: rotateZ(100deg) translate(-10deg,0); */
    transition: 1s;
}
.caidanlan .bk1 .block:nth-child(1) {
    background: white;
    transform: translate(0px, 13px) rotateZ(45deg);
}

.caidanlan .bk1 .block:nth-child(2) {
    background: transparent;
}

.caidanlan .bk1 .block:nth-child(3) {
    background: white;
    transform: translate(0px, -13px) rotateZ(-45deg);
}

.caidanlan nav {
    display: flex;
    position: fixed;
    top: 0;
    z-index: 1000;
    justify-content: space-between;
    background: var(--bgcolor);
    width: 100%;
    transition: 1s;
}

.caidanlan .hleft {
    margin: 0 20px;
    padding: 10px;
    height: var(--headheight);
    transition: 1s;

}

.caidanlan .hleft img {
    height: 100%;
    border-radius: 30px;
}

.caidanlan .hright {
    margin: 0 20px;
    display: flex;
    height: var(--headheight);
    padding: 10px;

}

.caidanlan .hright a {
    height: var(--headheight);
    text-align: center;
    line-height: var(--headheight);
    margin: 0 10px;
}

#fristsection {
    position: relative;
    width: 100%;
    height: 100vh;
}

.caidanlan .centerbox {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    height: 150px;
    padding: 30px;
    backdrop-filter: blur(25px);
    /* box-shadow: 0px 0px 20px 20px rgb(91, 90, 90); */
    border-radius: 30px;
}

.caidanlan .centerbox h1 {
    line-height: 150px;
    text-align: center;
    font-size: calc(var(--fristsection)*2);
    /* -webkit-text-stroke: 1px white; */
    color: black;

}

.caidanlan .bgtext {
    width: 100%;
    overflow: hidden;
}

.caidanlan .textline {
    transform: translate(calc(var(--td)*-100));
    display: flex;
    /* transition: 1s; */
}

.caidanlan .textline:nth-child(2n) {
    animation: textline1 2s linear;
}

.caidanlan .textline:nth-child(2n-1) {
    animation: textline2 2s linear;
}

@keyframes textline1 {
    0% {
        transform: translate(calc(var(--td)*-2000));
    }

    50% {
        transform: translate(calc(var(--td)*-100));

    }
}

@keyframes textline2 {
    0% {
        transform: translate(calc(var(--td)*2000));
    }

    50% {
        transform: translate(calc(var(--td)*-100));

    }
}

.caidanlan .textline p {
    cursor: default;
    color: black;
    font-size: calc(var(--fristsection)*2);
    margin: 0 10px;
    animation: 1s infinite anim;
}

.caidanlan .hidbox {
    /* display: none; */
    display: block;
    background: black;
    position: fixed;
    width: 100vw;
    transition: 1s;
    height: calc(100vh - 70px);
    right: 0;
    top: 70px;
}
.caidanlan .container {
    width: calc(var(--throbw) * 4);
    height: calc(var(--throbw) * 4);
    padding: var(--throbw);
    border-radius: calc(var(--throbw) /2);
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    box-shadow: 0px 0px 20px 20px rgba(104, 112, 118, 0.2);
    transform-style: preserve-3d;
    transform: translate(-50%, -50%) rotateX(45deg) rotateZ(45deg);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1000000;

}
.caidanlan .square {
    width: var(--throbw);
    height: var(--throbw);
    border: 1px solid red;
    background: rgba(207, 52, 40);
    position: relative;
    transform-style: preserve-3d;
    transform: translateZ(var(--throbw));
    box-shadow: calc(var(--throbw)* 3) calc(var(--throbw)* 3) 15px rgb(255 0 0 / 13%);
    animation: beating 1s infinite;
    animation-delay: calc(var(--d) *0.05s);
}

@keyframes beating {
    50% {
        transform: translateZ(calc(var(--throbw) /2));
    }

}

.caidanlan .square::before {
    content: "";
    position: absolute;
    width: var(--throbw);
    height: var(--throbw);
    top: 0;
    left: 0;
    background: rgb(225 83 83);
    transform: rotateY(-90deg);
    transform-origin: right center;
}

.caidanlan .square::after {
    content: "";
    position: absolute;
    width: var(--throbw);
    height: var(--throbw);
    top: 0;
    left: 0;
    background: rgb(225 83 83);
    filter: brightness(2.1);
    transform: rotateX(90deg);
    transform-origin: right bottom;

}

.caidanlan .square:hover {
    cursor: pointer;
    filter: brightness(2.1);
    animation-play-state: paused;
}
.caidanlan .hidbox .hidboxspan {
    display: block;
    transition: 1s;
    /* overflow: hidden; */
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* text-shadow: 0 0 14px #ffffff; */
}
#fristsection {
    position: relative;
    width: 100vw;
    height: 100vh;
}
#fristsection div{
    font-size: 100px;
    color: #fff;
    font-family: "隶书", sans-serif;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}